<?php 

$page=$_GET['page'];
if($page==""){
	include("model/search.php");
	include("includes/index.php");
}else{
switch($page) {
	case "signup":
	 	include("model/singup.php");
		break;
	case "contact": 
		include("model/contact.php");
		break;
	case "product";
		include("model/product.php");
		break;
	case "additionaldetail";
		include("model/additionaldetail.php");
		break;
	case "login";
		include("model/login.php");
		break;
	case "introduce";
		include("view/introduce.php");
		break;
	case "forgetpass";
		include("view/forgetpass.php");
		break;
	case "cart";
		include("model/cart.php");
	break;
	case "detailorder";
		include("model/orderdetail.php");
	break;
	case "service";
		include("view/service.php");
	break;
	//thanh toan
    case "liquidate";
		include("model/liquidate.php");
		break;
    case "search";
		include("model/search.php");
		break;
	case "detailcart";
		include("model/detailcart.php");
		break;
	case "profile";
		include("model/profile.php");
		break;
	case "promotion";
		include("model/promotion.php");
		break;
	}
}

?>